﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanmia.Warehouse.Core;
using FluentNHibernate.Mapping;

namespace Tanmia.Warehouse.NHibernateRepository.Mapping
{
    public class BaseNoteMap<T> : ClassMap<T>
        where T : BaseNote
    {
        public BaseNoteMap()
        {
            Map(x => x.CreateDate).Not.Nullable();
            Map(x => x.NoteNumber).Nullable();
            Map(x => x.Notes).Nullable();
        }
    }
}
